package com.shanwen.shopping.entity;

//import com.classic.common.banner.interfaces.AbsBanner;

import java.io.Serializable;
import java.util.List;


public class BannerInfo implements Serializable {

    /**
     * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
     */
    private static final long serialVersionUID = 2104797735819125181L;
    public static final int TYPE_BANNER = 1;                   //专题类型1
    public static final int TYPE_BOOKS = 2;                   //专题类型2
    public static final int TYPE_BOOKSURL = 3;                   //书籍外链
    public static final int TYPE_URL = 4;                   //url外链
    public static final int TYPE_UR2 = 6;                   //同外链
    private int bannerId;
    private long bookId;
    private int channelId;
    private String bannerName;
    private List<BookInfo> books;
    private String content;
    private int type;
    private String isVote;
    private String imgUrl;
    private String recommendBooks;
    private int voteId;
    private int level;
    private int isTrain;
    private int trainId;

    public BannerInfo(int type) {
        super();
        this.type = type;
    }

    public BannerInfo() {

    }

    @Override
    public String toString() {
        return "BannerInfo [bannerId=" + bannerId + ", bannerName=" + bannerName + ", content=" + content + ", type=" + type + "]";
    }

    public int getBannerId() {
        return bannerId;
    }

    public void setBannerId(int bannerId) {
        this.bannerId = bannerId;
    }

    public long getBookId() {
        return bookId;
    }

    public void setBookId(long bookId) {
        this.bookId = bookId;
    }

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public String getBannerName() {
        return bannerName;
    }

    public void setBannerName(String bannerName) {
        this.bannerName = bannerName;
    }

    public List<BookInfo> getBooks() {
        return books;
    }

    public void setBooks(List<BookInfo> books) {
        this.books = books;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getIsVote() {
        return isVote;
    }

    public void setIsVote(String isVote) {
        this.isVote = isVote;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getRecommendBooks() {
        return recommendBooks;
    }

    public void setRecommendBooks(String recommendBooks) {
        this.recommendBooks = recommendBooks;
    }

    public int getVoteId() {
        return voteId;
    }

    public void setVoteId(int voteId) {
        this.voteId = voteId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getIsTrain() {
        return isTrain;
    }

    public void setIsTrain(int isTrain) {
        this.isTrain = isTrain;
    }

    public int getTrainId() {
        return trainId;
    }

    public void setTrainId(int trainId) {
        this.trainId = trainId;
    }

//	@Override
//	public String getBannerDescription() {
//		return this.bannerName;
//	}
//
//	@Override
//	public String getBannerCoverUrl() {
//		return this.imgUrl;
//	}
}
